<?php
namespace Auth\Form;

class ProfileForm extends UserForm{
	public function __construct($name = null){
		parent::__construct($name);
		$this->setAttribute('enctype','multipart/form-data');
		$this->setAttribute("class", "form-horizontal");
		$this->get("submit")->setAttribute("id", "update-profile")->setValue("Save Profile");
		$this->get("email")->setAttribute("disabled", "disabled");
		$this->remove("id");
		$this->add(array (
				"name" => "avatar",
				"options" => array (
						"label" => "Avatar",
				),
				'attributes' => array (
						'id' => "avatar",
						"type" => "file",
				)
		));
		$this->addInputFilter("fullname");
	}
}